html,
body {
    padding   : 0;
    margin    : 0;
    box-sizing: border-box;
}

.container {
    width     : 100%;
    height    : 100%;
    position  : relative;
    background: #333;
}

.container #playCanvas {
    width  : 100%;
    height : 100%;
    display: block;
}

.container #player-loading {
    position : fixed;
    top      : 50%;
    left     : 50%;
    transform: translate(-50%, -50%);
}

#player-loading .text {
    font-size : 12px;
    color     : #eeeeee;
    text-align: center;
}

#player-loading .animbox {
    width     : 150px;
    text-align: center;
}

/* 设置各竖条的共有样式 */
#player-loading .animbox>div {
    display            : inline-block;
    width              : 4px;
    height             : 35px;
    margin             : 2px;
    background-color   : #279fcf;
    border-radius      : 2px;
    animation          : anim 0.9s 0s infinite cubic-bezier(0.11, 0.49, 0.38, 0.78);
    animation-fill-mode: both;
}

/* 设置动画延迟 */
#player-loading .animbox> :nth-child(2),
#player-loading .animbox> :nth-child(4) {
    animation-delay: 0.25s !important;
}

#player-loading .animbox> :nth-child(1),
#player-loading .animbox> :nth-child(5) {
    animation-delay: 0.5s !important;
}

/* 定义动画 */
@keyframes anim {
    0% {
        transform: scaleY(1);
    }

    80% {
        transform: scaleY(0.3);
    }

    90% {
        transform: scaleY(1);
    }
}